[Fix #46] Strip magic portion of remote filenames in puppet-read-command

With this change commands like `apply` and `lint` work over TRAMP.