When computing dirs for filtering, need to limit the replacement of the top_path to 1, else for, e.g. /mnt, we end up replacing all / characters...