Fix execute directory for sources from repositories.