fix: don't try to load config file if it is a directory.

Of course, it shouldn't be a directory to begin with...