lava-v2-jobs-from-api.py: reduce indentation
lava-v2-jobs-from-api.py: reduce indentation

Reduce indentation of the block generating the job template paramters
to improve readability by checking for missing kernel_image first.
The code within the block is unchanged in this patch.

Signed-off-by: Guillaume Tucker <e7e20b7c30f19d4ca6b81319ef81bf200369d137@collabora.com>

kernelci/lava-ci-staging,kernelci/lava-ci-staging,kernelci/lava-ci-staging