golang: Ensure to include dev version when no releases exist
Some go packages only have a development version not listed by the @v/list endpoint but returned by the @latest endpoint.
So ensure to return it in get_versions method or it will be missed by the loader.
Related to T4124
Migrated from D8506 (view on Phabricator)