why do we catch same exception twice? and if it's needed please decalare `msg` for those two exceptions.
```js
var msg = ' -*- build/install-gaia.js: cannot locate' +
                      'profile folder in ' + options.PROFILE_FOLDER
throw new Error(msg);
```