Don't run nil podCache method.

Several tests which create a master don't pass in a podCache.
If the test takes more than 30s (as can happen on Travis, but not so much on your local box), the test will get a nil pointer panic.
Godoc comment should warn that if params are nil, return will be nil.