stateconf.statelist(): make default argument value immutable
Merge pull request #4753 from cvrebert/patch-1

stateconf.statelist(): make default argument value immutable