Fix pylint issue in salt/states/reg.py