Fixes #806 with a more descriptive error when an empty config file is provided

Fixes #806 with a more descriptive error when an empty config file is provided