Puppet 4.0 specially handles environments that don‘t have a manifest set, so we check for the no manifest value and return nil when it is set.
@return [String, nil] The path to the Puppet manifest if it is present and set, nil otherwise.
[Validate]