Use regex instead of DOM module to get avatar URL
Empty return value should be null
Merge pull request #5559 from coenjacobs/refactor-get-avatar-url

Use regex instead of DOM module to get avatar URL