fix VertexLRUCache get to actually cache non-existing vertices