If the success case of this method returns a URL, the failure case should probably return nil or the missing image string. That way, both cases are returning a value that is used, rather than doing two separate things in different cases.