Fix for 'ec2:ssh' command when using stages

When using stages, the command changes from `cap <role> ec2:ssh <id>` to `cap <env> <role> ec2:ssh <id>`.  This commit checks to see if the parameter we checked first is `ec2:ssh`, and if so, gets the parameter after that.