Remove the check for ENV variable PWD. The reason why PWD is checked is unknown. However it is not a good idea because setting this ENV variable basically prevents one to execute knife from a different directory.

Also the associated test is removed as I am not sure how it should be fixed.