repository: verify the URL obeys the protocol
If enough time has passed since the URL was last retrieved (30 days by
default), try to access it using a method that depends on the
protocol. The retrieved qualifier is updated if it succeeds, otherwise
an error is displayed.
Signed-off-by: Loic Dachary <email@example.com>