Update macports package manager to behave a little better.
Properly quote some parameters to MacOS dscl
Fix pylint
Merge pull request #18243 from cro/macports_update

Update macports package manager to behave a little better.