NXP-14568: cleanup
NXP-14568: set mp visibility

Remove deprecated use of org.nuxeo.connect.update.Package.getState()