pylint fixes
Merge pull request #5631 from edx/cdodge/touchups-on-auto-registration

pylint fixes