Fix Issue #1 for nodenv shell not working properly.

This seems to be the reason why Issue #1 is caused. I was able to confirm locally that it works. Not sure if it was intended for anything?