Fix to allow extensions from non-"com." packages to be registered
Resolves #250, including test which fails without this fix