Shorter repo checking + check callback = defined