Only setup a pbi repo if going to available plugins, not at boot time

Ticket: #4383