Fixes #5127: Don't try to enforce invalid parameters on RedHat3,4,Debian3,4

I think this would be a lot easier to review if we had a list of options/supported OSes we could just iterate over... But I guess the code isn't written this way :(