Move project/workflow fetching into test-friendly finders