KARAF-2946 Removing duplicate packages and adding an itest for duplicates