Fixes #928

not sure what to say here, `project` is never null, it only has the missing `:repositories` and the let was good but the end paren wasn't including that call