Fix returning URL from the publishInside() method