Use `''` as the default for repository and project

These parameters are not allowed to be None.  I don't konw why project
was hard-wired to `''` before, but it's not now.
WIP: codebase validation function for use in schedulers