Update commands.js

origin/foo is in the local_repo, not the remote.