This is why you do not tell your manager until it's decided, or it's so far along that they're needed as a reference.
In a perfect world, your manager should not care and your company should not treat you any differently for looking, but this is rarely the case.