Fixed application of ignored style in tree view.

Prior to this change, files matching a pattern in `.gitignore` are not distinguished in tree view. This PR fixes that the same way that rschiang/unity-dark-ui@4edc0c89829a4369a028131f0dde0bc226c4b001 does.