When you use during installation SCR, it then correctly work on target root ( in installation it is /mnt where is mounted root system of installed machine ). But current root during installation is '/' so you check existence of file on '/' but want to remove it on '/mnt'