Fix bug causing truncation of source paths.