This is unnecessary, as the media directory is served directly by apache and AFAIK in debug mode doesn't get a locale added either.