--- hosting_platform.drush.inc.orig	2011-12-29 15:49:09.000000000 +0000
+++ hosting_platform.drush.inc	2011-12-29 15:51:39.000000000 +0000
@@ -61,7 +61,7 @@
       hosting_package_sync($packages['profiles'][$profile]);
       $instance = hosting_package_instance_load(
         array('p.short_name' => $profile, 'i.rid' => $node->nid, 'p.package_type' => 'profile'));
-      hosting_package_instance_sync($instance->iid, $packages['base'], $packages['profiles'][$profile]);
+      hosting_package_instance_sync($instance->iid, $packages['profiles'][$profile], $packages['base']);
 
       // @todo : package instances of modules to profiles.
     }
