Fix error in has_media? when using relative paths