The path variable was used incorrectly and this is causing issue in spack build Change-Id: I34890577f1403d0d5efcba80d417ad5f9720aa6e