Fix error if .sconsign.branch is missing. In this case, the current
*_build folder is re-used.
fixed scoping of some re-used variables
create branch folder in cache even when .sconsign.brach does not exists