Remove `saltenv` from keyword arguments. Fixes #11736

Don't define `saltenv` as a keyword argument if it's not going to be
used.