Adjusted Project.getRoleByName() method