nova: fix bootstrap bug

commandline_to_basename may adjust the pointer of the string, recalculate the
length accordingly.