Fixing unless statement in repomonitor_repo.

Stops a search for "/srv" from matching "/src/www/wp-content".
Moving `repomonitor_repo` to helpers.