fix inconsistent sys_path leading to watching issue on root dir (#3224)
It fixes the case when adding, removing or renaming files on root dir
doesn't trigger an update.
maybe fixes #3215, but I can confirm as I can't really reproduce with
the steps provided.
Co-authored-by: Leah <github.leah@hrmny.sh>