Prior to this commit, if a user didn't supply a box file on disk or a box url, Vagrant would crash and display a stacktrace with an invalid file. This commit fixes that by adding some extra handling around the arguments supplied to the publish command.