Fixed formatting submodule name when fileNameOnly is set for truncate path method.
Run only newly created task.