Silence CID 52142: check dynamic_cast NULL retval
Silence CID 52143: don't deref NULL ptr
Protection added in case the remote file is not accesible.
Attribute must not be attached to a definition.