Look for Xendata_URL environment variable and use if found

Helps when debugging