Use cabal's CURRENT_PACKAGE_KEY when it exists