CLOUDSTACK-7405: Make the trailing slash conditional for meta-data requests

This should fix the cloud-init issues described in this issue.
CLOUDSTACK-4725: if storage pool has different path, but the uuid is the same, then treat them as the same storage pool