Revert "handle basename missing from kernel image"

This reverts commit 293c980e53ec71260a461de21d370bed8223e130

pushed the wrong version