scripts dir root path fixes and some assertion improvements
scripts dir root path fixes and some assertion improvements

Signed-off-by: Praveen Garg <0f96971d7116ec320363a4153084b93a883b3ea7@nerdapplabs.com>

foglamp/FogLAMP,foglamp/FogLAMP,foglamp/FogLAMP,foglamp/FogLAMP