Interpret ${PWD} in the shell

This works correctly, even if PWD isn't set in the environment of the
process that calls make.

Issue: dtolabs/rundeck/issues#624