Changing how ChefNodeNameRetriever access resources

The previous method did not work with mvn exec:jar