Resolve custom config paths before loading the file, close #577

:fist: