Fix thumbnail URL issues from carrierwave upgrade

- Handle nil source argument in path_to_image
- Use #thumbnail.url instead of #url(:thumbnail)