Fix syntax error in mock-permalink client