Fixes #50925 * If config or rollback option is None and backup=yes in that case add check so edit_config() is not invoked as it is not required.