Additional logging around _registerPackages to help understand workflow