mojo/discovery: use CURDIR rather than PWD. make -C does not update PWD.

Change-Id: Ic1ef44ea8723be3f7c073f19b97f341dd2467962
2 files changed