Some ports, such as the py-qt{4,5}-* ones, do not set PORTVERSION
themselves, but may have PORTEPOCH right below PORTNAME.
If such ports have PORTNAME and PORTEPOCH but no PORTREVISION, the script
would add a PORTREVISION below PORTEPOCH instead of before it.