[IMP] config: Test that the config file is readable

Fixes #3237