Replaces subshell in an alternate directory with push/pop-d.
Adds quotes to prevent shell-expansion in case arg1 contains a space.
Adds -e to prevent an update if the build fails.
Merge pull request #563 from jbnicolai/update-site-oath-target-improvements

Update site oath target improvements