robot-framework: Improve tricky bash coverage