Massage PBI_MAKEPORT to remove any trailing '/'