Fix regex issue with impropper use of getattr, remove apply functions, they are deprecated
Fix regex issue with impropper use of getattr, remove apply functions, they are
deprecated

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt