[sanlock] 10/14: python: Remove unneeded check for null