Fix to only use gentoo as masters