Changing our HOME algorithm to match cordova-cli