Fix gravatar relative_url error in network graph

If relative_url_root set, the web site of icon is "/gitlabhttps://secure.gravatar.com/avatar/xxxxx"
in the network graph.

Signed-off-by: 宋万鹏 <swpustc@mail.ustc.edu.cn>