Correctly handle missing content-type in gettitle