If /proc/cmdline is empty, like we see sometimes during CI, this will
fail molecule testing.
Change-Id: I74749762ca050affc8d384f7e716bfd9b6eb4486
(cherry picked from commit 69baf00124)
(cherry picked from commit 0d52d59cec)
(cherry picked from commit fd58525bde)