Block upgrades in bin/lein-pkg.

Fixes #1377.