Code wise, this would work but this is just hiding all the repos by default, this isn't exactly what is described in issue #333 :)
@dhrish20 do you need help with this one? Regarding the description in the bug is there something you would like help with?