Remove unused local variable from project.rb

Prefer `detect` over `find`.