lava-test-shell: detect deployed distro and boot accordingly

Change-Id: Ic33c5e4e80f7839db05a6a3c0736a93b8f1f208d