Allow overriding the distro and add dependency repo