migrations: handle empty metadata for repo.private
Created by: keegancsmith
metadata column can be empty. If that is the case, we assume the repository is private to avoid leaking it. There are many repos without metadata on sourcegraph.com. Additionally there are likely cases where metadata is empty on customer instances (for example deleted repositories).
Previously if metadata was empty the migration failed. This lead to some downtime on sourcegraph.com