Puppet Module: Fixing search for nil repoids

The problem was that blank? returns true for nil and we want not to enter the
conditional if repoids is nil.
Merge pull request #2796 from daviddavis/temp/20130822102823

Puppet Module: Fixing search for nil repoids