Fix install issue after adding hosting_platform_pathauto as dependancy.

hosting_get_hostmaster_nid() is not useful while installing the hostmaster site.
Issue #2273323 by MartijnBraam: Fixed Code cleanup.
Issue #2271211 by tloudon: Fixed Drush hosting import issue for Drupal 7 profiles.