Fix Pathname support

Opened as a followup to #41 since Pathnames were not supported in commands with no parameters and when used a parameter options.