Issue #1903188 by itamar: Fixed Undefined libraries_get_libraries() when installing install-profile from drush.