Fix logic for avoiding installing an egg we haven't built yet