WP details pane: don't show avatar if not provided

Fixes a broken image being shown for deleted users and in case
Gravatar images are disabled.