Fix bug with local YAML file processing for CLI