Fix basename 'too many arguments' error

Error above arises when current working directory path contains any spaces. (as in my example: '~/Documents/Local Git Repositories/...')
Putting variable in quotes to eliminate this problem.