Issue when loading config file from 'priv' directory