Use proper portdir var for NEED_ROOT lookup