Fix source dir unique ID generation.