frontend: avoid additional query for main_dir.full_name
AFAIK in all cases, full name of the main dir should be simply full
name of the project itself.
This change improves performance of listing builds via APIv3 and
reduces time for listing all builds from the rubygems project from
~13min to ~6min.