Fix bug #1277256 - localhost mapping during bundle submission.
Fix bug #1277256 - localhost mapping during bundle submission.

Use django's site domain name if it is set.

Change-Id: Ieae0c60a8d139239e2fa8ad8085c20186dc98ff1

Linaro/lava-server,Linaro/lava-server,OSSystems/lava-server,Linaro/lava-server,OSSystems/lava-server,Linaro/lava-server,OSSystems/lava-server