Fixes going up a directory when S3BL_IGNORE_PATH is true