don't break if portal_factory is missing
Merge remote-tracking branch 'origin/master' into plip-13770-portal-tools-removal