checkout: Don't require a work tree when checking out into a new one

Signed-off-by: Dennis Kaarsemaker <dennis@kaarsemaker.net>