Remove unused local variable from project.rb

this is a broken code because you use undefined variable in  `service.nil?`