#727 package repository extension now supports message based plugin API

I wonder if this is a wrong expectation. Related to my earlier comment. From my reading of the code of ```PackageAsRepositoryExtension``` class, and specifically the path in ```resolveBy()``` which takes it down to ```JsonBasedPackageRepositoryExtension``` class, the return value of that call cannot be ```null```. It'll be an exception. I think.