Fix for ignoring of folders and corresponding test