Suppress error messages in case there's no `master` branch.

Fixes #533.
diff --git a/install.sh b/install.sh
index 4d6b3ee..ee317dd 100755
--- a/install.sh
+++ b/install.sh
@@ -44,7 +44,8 @@
     mkdir -p "$NVM_DIR"
     git clone "$NVM_SOURCE" "$NVM_DIR"
   fi
-  cd "$NVM_DIR" && git checkout v0.17.0 && git branch -D master || true
+  cd "$NVM_DIR" && git checkout v0.17.0 && git branch -D master >/dev/null 2>&1
+  return
 }
 
 install_nvm_as_script() {