Allow karaf to handle both kars and offline repository