Fix for config finder.

I don't know how I managed to write this... I swear I wasn't on drugs!
Fixing an issue with config path resolving to false