Update getpac to work when mbranching jdk7.