selftest: Align cleanup of tmpkpasswdscript with scripts that use it