Add python shell kwarg to locate module
Merge pull request #19242 from rallytime/locate_fix

Add python shell kwarg to locate module