Is this intended to simply be `{% else %}`?  What's the `'media' in path` check for?