improving self-checks on the config.yml file in rake tasks