this won't work in installation, as you check it on current root and want remove it from target root.