Script 'schedule': improve handling of the repository path.