Fail if path is not a puppet module

If a module referenced with :path doesn't have the manifests, lib/puppet or lib/facter folders, a nil pointer error is thrown.
Check that case and fail fast