PyUtil#removeQualifier handles possible whitespace before the dot