MAESTRO-3766 Fix prefix for commands.

Previous change broke rvm usage for validation commands.  This change brings back rvm usage for all ruby commands (including validation) as well as supporting the originally intended 'cd before rvm use'.  The 'cd' is now done before anything else