Hide realm options if single repo, fixes #5228