AMI-403 add support for HEAD version