cd into casper dir before trying to checkout master