Check if the path returned from a classname search is false, and if so s...

...kip replacing base path (since this causes empty string to be stored as the class path in the cache