Fix attribute order

Be sur that 'install_repo' is set.