Ignore the empty dashboard as well.

Also make the variable more descriptive and remove the  unneeded -1 to ls.