fixing whitespaces and creation of sandbox (tmp build-dir) if not exists

Also added sha1 to recipes that were missing it