supposed bug fix for http://drupal.org/node/1901388 - Trying to get property of non-object dans purl_path->remove()