correctly handle temporary directories in package creation
in aliensrc_creator
, git repos are fetched, checked out and archived in temporary directories, but their creation and closing is not handled correctly, leading to errors in some corner cases.