Fix a potential bug removing users homedir at delete time