Improvments to local checkout and rake tasks