Pass __env__ to salt.modules.pip._get_cached_requirements

This fixes #6003, and resolves a traceback caused by the environment not
being passed to the function.