Store the source URI in metadata as late as possible in the Controller constructor, so we don't need to clean up the target directory with every typo.