Upgrade-salt command was using a deprecated function