fix(autoload): correct detection of traits in autoload (refs #4713)
Merge pull request #1155 from Eric-Brison/3.2-I4713

fix(autoload): correct detection of traits in autoload (closes #4713)