Fix a bug when using default ports tree for poudriere

In https://github.com/saltstack/salt/pull/11436 I had an error with None handling