Issue #3440424 by alexpott: Inconsistent behaviour with drupalGet() when site is installed in a subdirectory