Improve error message for reading config properties