Work around composer global require bug

If `composer global require` is run in a directory with an existing `composer.json`, it will fail to move to the proper `.composer` dir, thus erroring out during installation.