Fixed bugs introduced path handling for hhvm.