Check is command is a str and replace by list before checking existence
Description
Change the order in which we check the commands and convert them into list in the bwrap sandbox.
Before, a string would never pass the check.
Changes proposed in this merge request:
- Convert command to list before checking if the command exist
This merge request, when approved, will close: #728 (closed)
Edited by Benjamin Schubert