Fixing empty line parsing bug in RepoMonitor.

Sometimes the git or svn commands will output empty lines which causes php errors.