Sokolov pivoted and took a phone picture of the building from which they had just emerged. Later, when he wanted to go back to the safe house, he could show it to a taxi driver.
Totally sensible thing to do while visiting a foreign country, if you might have trouble communicating where you want to go.

