There is no user attribute in cmd.run.
Check the repository don't have an attribute user for cmd.run, and if so, replace by runas.
Currently accepted arguments:
salt.states.cmd.run(name, onlyif=None, unless=None, creates=None, cwd=None, runas=None, shell=None, env=None, stateful=False, umask=None, output_loglevel='debug', quiet=False, timeout=None, ignore_timeout=False, use_vt=False, **kwargs)
If a cmd.run entry contains a user:, we should replace by runas (but it will have a require.user to mark a dependency to an user.present state).