ide: fixing browse files command when dirwatcher returns no files