readded initialisation of repository var in 1.4