Hallo Thorsten,
schon mal ein php bin/console sw:cache:clear probiert, vor der ausführung von sw:media:cleanup?