Fix deleting require cache for nested requires.