Make protocol a required attribute

The protocol has to be set in order for the program to clone a
repository. Make it required so that we get an error if it's left
undefined.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>