BUG-1200 fix external run.sh for the same logic of checking arguments

Change-Id: Iee5fce8cccee12738e408d9d3d520bff5509d761
Signed-off-by: Jakub Toth <jatoth@cisco.com>
(cherry picked from commit 3e574f38169cc36857b594ed34a37dcb4f2d00b8)

Change-Id: I50778343524beab1d9b474c5728d2786069bef73
Signed-off-by: Luis Gomez <ecelgp@gmail.com>