Avoid downloading VCS data when building release

Calling `composer install --prefer-dist` will speed up operations, since we don't download .git folders and after delete them.