Adding Exception if config-path is empty