fix the check for local directory mapping.
use temp variable for current directory.

or this is can get wrong.
add -v as well for git-review.