Exclude /media/ properly.