fs.Visit() returns nil flag

Signed-off-by: Sven Dowideit <SvenDowideit@docker.com>
Merge pull request #7791 from SvenDowideit/mflag-Visit-returns-nil-flag

fs.Visit() returns nil flag