Fixed regression for Node.js 0.10.X

Due to changed behavior of path.join and a wrong assumption of sdkPath being not undefined (in case of no Android SDK is installed), trying to path.join a non-string will result in breaking the whole runtime. (i.e. CLI)