Bug 908538: Fix for git checkout failing in npm build.

[merge]