diff --git a/core/lib/Drupal/Core/Routing/RouteBuilder.php b/core/lib/Drupal/Core/Routing/RouteBuilder.php
index a4b17e2..433abec 100644
--- a/core/lib/Drupal/Core/Routing/RouteBuilder.php
+++ b/core/lib/Drupal/Core/Routing/RouteBuilder.php
@@ -206,13 +206,6 @@ public function rebuild() {
   /**
    * {@inheritdoc}
    */
-  public function getCollectionDuringRebuild() {
-    return $this->routeCollection ?: FALSE;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
   public function rebuildIfNeeded() {
     if ($this->routeBuilderIndicator->isRebuildNeeded()) {
       return $this->rebuild();
diff --git a/core/lib/Drupal/Core/Routing/RouteBuilderInterface.php b/core/lib/Drupal/Core/Routing/RouteBuilderInterface.php
index 849d4ad..29a4bfe 100644
--- a/core/lib/Drupal/Core/Routing/RouteBuilderInterface.php
+++ b/core/lib/Drupal/Core/Routing/RouteBuilderInterface.php
@@ -18,18 +18,6 @@
   public function rebuild();
 
   /**
-   * Returns the route collection during the rebuild.
-   *
-   * Don't use this function unless you really have to! Better pass along the
-   * collection for yourself during the rebuild.
-   *
-   * Every use of this function is a design flaw of your code.
-   *
-   * @return \Symfony\Component\Routing\RouteCollection|FALSE
-   */
-  public function getCollectionDuringRebuild();
-
-  /**
    * Rebuilds the route info and dumps to dumper if necessary.
    *
    * @return bool
diff --git a/core/modules/rest/src/Plugin/Derivative/EntityDerivative.php b/core/modules/rest/src/Plugin/Derivative/EntityDerivative.php
index b7f02a7..f895822 100644
--- a/core/modules/rest/src/Plugin/Derivative/EntityDerivative.php
+++ b/core/modules/rest/src/Plugin/Derivative/EntityDerivative.php
@@ -110,30 +110,9 @@ public function getDerivativeDefinitions($base_plugin_definition) {
         foreach ($default_uris as $link_relation => $default_uri) {
           // Check if there are link templates defined for the entity type and
           // use the path from the route instead of the default.
-          $link_template = $entity_type->getLinkTemplate($link_relation);
-          if (strpos($link_template, '/') !== FALSE) {
+          if ($link_template = $entity_type->getLinkTemplate($link_relation)) {
             $this->derivatives[$entity_type_id]['uri_paths'][$link_relation] = '/' . $link_template;
           }
-          elseif ($route_name = $link_template) {
-            // @todo remove the try/catch as part of
-            // http://drupal.org/node/2281645
-            try {
-              if (($collection = $this->routeBuilder->getCollectionDuringRebuild()) && $route = $collection->get($route_name)) {
-              }
-              else {
-                $route = $this->routeProvider->getRouteByName($route_name);
-              }
-              $this->derivatives[$entity_type_id]['uri_paths'][$link_relation] = $route->getPath();
-            }
-            catch (RouteNotFoundException $e) {
-              // If the route does not exist it means we are in a brittle state
-              // of module installing/uninstalling, so we simply exclude this
-              // entity type.
-              unset($this->derivatives[$entity_type_id]);
-              // Continue with the next entity type;
-              continue 2;
-            }
-          }
           else {
             $this->derivatives[$entity_type_id]['uri_paths'][$link_relation] = $default_uri;
           }
