fix redirect to back for non history api browsers when no base paths are given