fix revision specificiation command line parsing

this bug causes checkout to always take master