Decided to use regexes to authenticate an entry of the format repo:username/repository_name/branch.

Signed-off-by: Caspar Cedro <casparcedro96@gmail.com>