remove incorrect null check added by maas' patch