[entropy.db.sqlite] lock_path() should not use id(self) for memory repositories