Fixed hidden notes displaying

If one note was opened for editing, a "noteless ls" would reveal the .note.swp
(assuming vim is the editor) in the list of notes.

Further, previously three matches had to be checked for (., .., and .git). This
simplifies the checks and should parse faster.