Lazy evaluate __repo_id

This should fix the build issue, hopefully.