edx/edx-platform — pull request #1107 by dmitchell (2013-09-24 13:05:37+00:00)
Title: Ensure location is valid before trying to fetch

Prevent accidental wildcarding.

@cahrens @chrisndodge Pls review. It fixes a bug @cahrens found where for some reason find_one was finding all and doing a mass update b/c the location had wildcards :-(