Issue 598: ignore .git directory in beacon db_path, and '~' files (TO BE MERGED AFTER !1099) Closes #598 See merge request !1100