fix cloning of tagged versions