Fix dependency bug when using a real filesystem