slug_watch: Avoid error if projects.list.head does not exist
slug_watch: Separate cgit and gitweb projects_list

cgit projects_list is plain text while gitweb requires
the paths in the file to be URI encoded.