Fixing bug where config.*.deploy was ignored