add support also for http repository