fix set autorefresh in zypper module

fix:
"Failed to configure repo '<reponame>': in method
'RepoInfoBase_setAlias', argument 2 of type 'std::string const &'"
Merge pull request #14954 from mcalmer/fix-zypper-set-autorefresh

fix set autorefresh in zypper module
add expand_repo_def needed by states pkgrepo.managed
fix pylint add extra line