This task should check if Pkg and Pkg::Config are defined, because it will fail hard if the packaging repo isn't present. Perhaps it should fail with a helpful message?