fix for share image without host name

Adding host names to share image path. #582