Update gmap.sh

Fixed variable for default_path and changed empty variable check code