Only change owner of automatically created directories

Make sure to not change the owner and group of existing destinations in
the method inject_directory.