Miscellaneous fixes for try subcommand.

The first commit is independent of the rest, the last one depends on the second one and could be squashed with it but I preferred to keep them separate just in case.

The commit messages should hopefully be self-explanatory.
**If** that is a concern, python has the ``shlex.split`` function. (https://docs.python.org/2/library/shlex.html#shlex.split)