better handling of remote root & amazon images (all domains now)