Refactoring of ImageFetcher.processImageUrl