diff --git includes/views/handlers/versioncontrol_handler_field_item_revision_path.inc includes/views/handlers/versioncontrol_handler_field_item_revision_path.inc
index 234f54b..5389c03 100644
--- includes/views/handlers/versioncontrol_handler_field_item_revision_path.inc
+++ includes/views/handlers/versioncontrol_handler_field_item_revision_path.inc
@@ -60,10 +60,14 @@ class versioncontrol_handler_field_item_revision_path extends views_handler_fiel
     $link_type = !empty($this->options['link_type']) ? $this->options['link_type'] : 'view';
     switch ($link_type) {
       case 'log':
-        return l(check_plain($path), $url_handler->getItemLogViewUrl($item_revision));
+        $link = $url_handler->getItemLogViewUrl($item_revision);
       case 'view':
       default:
-        return l(check_plain($path), $url_handler->getItemViewUrl($item_revision));
+        $link = $url_handler->getItemViewUrl($item_revision);
     }
+    if (!empty($link)) {
+      return l(check_plain($path), $link);
+    }
+    return check_plain($path);
   }
 }
diff --git includes/views/handlers/versioncontrol_handler_field_operation_revision.inc includes/views/handlers/versioncontrol_handler_field_operation_revision.inc
index 0228816..ab1b1eb 100644
--- includes/views/handlers/versioncontrol_handler_field_operation_revision.inc
+++ includes/views/handlers/versioncontrol_handler_field_operation_revision.inc
@@ -31,6 +31,10 @@ class versioncontrol_handler_field_operation_revision extends views_handler_fiel
     $revision = $this->backends[$vcs]->formatRevisionIdentifier($revision, 'short');
     $repo = $this->getRepository($vcs, $repo_id);
     $url_handler = $repo->getUrlHandler();
-    return l(check_plain($revision), $url_handler->getCommitViewUrl($revision));
+    $link = $url_handler->getCommitViewUrl($revision);
+    if (!empty($link)) {
+      return l(check_plain($revision), $link);
+    }
+    return check_plain($revision);
   }
 }
