This can throw if `project` is not open. It also returns projects that may not be open, so it's possible to get in that case.