BF: Fix AttributeError in port deduction

A typo in attribute name raised an AttributeError on some platforms.

Found by pylint.
DOC: Fix typo is source comment
Merge pull request #628 from philippwiesemann/fix-colorcal-attributeerror

BF: Fix AttributeError in port deduction