Fix handling of licenses ending with plus sign on 9.x
Approved by: portmgr (bapt) Differential Revision: D4921