Fix invalid method call on getProject resource method.