Fixed NullPointer issue while reading base URL in case of Feed

Fixed null pointer exception while getting the base url in AtomfeedHandler in case of feed.