Workaround for a bug in Salt 0.17.2.