Clean the source dir from git stuff in the externals before publishing