Check if the path returned from a classname search is false, and if so skip replacing base path (since this causes empty string to be stored as the class path in the cache