Use workaround for git checkout