Fix bug with missing long-name in config files