fix typo in config file check

fixes #31