Removed 'refs/' from branch name passed to git checkout.