Gitlab has been updated. More info here.
with this patch, the script handles both the old and the new adf repository