Add not_if guard in bash script