CHEF-5365 - added a unit test to ensure fallback of Dir.pwd works without environment variables set