Fixes to addit repo creation script.