diff --git a/src/applications/daemon/controller/PhabricatorDaemonLogViewController.php b/src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
--- a/src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
+++ b/src/applications/daemon/controller/PhabricatorDaemonLogViewController.php
@@ -171,7 +171,8 @@
       phutil_tag(
         'tt',
         array(),
-        "phabricator/ $ ./bin/phd log --id {$id}"));
+        PlatformSymbols::getPlatformServerPath().
+        " $ ./bin/phd log --id {$id}"));
 
 
     return $view;
diff --git a/src/applications/diffusion/controller/DiffusionRepositoryEditDeleteController.php b/src/applications/diffusion/controller/DiffusionRepositoryEditDeleteController.php
--- a/src/applications/diffusion/controller/DiffusionRepositoryEditDeleteController.php
+++ b/src/applications/diffusion/controller/DiffusionRepositoryEditDeleteController.php
@@ -28,7 +28,8 @@
           'the command line:'))
       ->appendCommand(
         csprintf(
-          'phabricator/ $ ./bin/remove destroy %R',
+          '%s $ ./bin/remove destroy %R',
+          PlatformSymbols::getPlatformServerPath(),
           $repository->getMonogram()))
       ->appendParagraph(
         pht(
diff --git a/src/applications/metamta/PhabricatorMetaMTAWorker.php b/src/applications/metamta/PhabricatorMetaMTAWorker.php
--- a/src/applications/metamta/PhabricatorMetaMTAWorker.php
+++ b/src/applications/metamta/PhabricatorMetaMTAWorker.php
@@ -45,9 +45,10 @@
   public function renderForDisplay(PhabricatorUser $viewer) {
     return phutil_tag(
       'pre',
-      array(
-      ),
-      'phabricator/ $ ./bin/mail show-outbound --id '.$this->getTaskData());
+      array(),
+      PlatformSymbols::getPlatformServerPath().
+      ' $ ./bin/mail show-outbound --id '.
+      $this->getTaskData());
   }
 
 }
diff --git a/src/applications/repository/query/PhabricatorRepositoryQuery.php b/src/applications/repository/query/PhabricatorRepositoryQuery.php
--- a/src/applications/repository/query/PhabricatorRepositoryQuery.php
+++ b/src/applications/repository/query/PhabricatorRepositoryQuery.php
@@ -62,6 +62,10 @@
     $slugs = array();
 
     foreach ($identifiers as $identifier) {
+      if ($identifier === null) {
+        continue;
+      }
+
       if (ctype_digit((string)$identifier)) {
         $ids[$identifier] = $identifier;
         continue;
diff --git a/src/infrastructure/markup/markuprule/PhutilRemarkupEvalRule.php b/src/infrastructure/markup/markuprule/PhutilRemarkupEvalRule.php
--- a/src/infrastructure/markup/markuprule/PhutilRemarkupEvalRule.php
+++ b/src/infrastructure/markup/markuprule/PhutilRemarkupEvalRule.php
@@ -68,11 +68,11 @@
           'platform' => array(
             'server' => array(
               'name' => PlatformSymbols::getPlatformServerName(),
-              'path' => pht('phabricator/'),
+              'path' => PlatformSymbols::getPlatformServerPath(),
             ),
             'client' => array(
               'name' => PlatformSymbols::getPlatformClientName(),
-              'path' => pht('arcanist/'),
+              'path' => PlatformSymbols::getPlatformClientPath(),
             ),
           ),
         ),