Fixes problem checking 64-bit and 32-bit msdeploy paths that don't exist

Had a problem where the grunt task would attempt to use a string that was undefined. This commit adds error checking.