reporefupdate, reporefsync: Restore the original working dir
reporefupdate, reporefsync: Restore the original working dir

Change-Id: I351addca93701958ce1f7d113fad7be68e8a243c
Signed-off-by: Adrian DC <01fb3892f39957945220431e7409156544d2f041@gmail.com>

AdrianDC/android_development_shell_tools,AdrianDC/android_development_shell_tools