More rigorous check for valid DP url
fixes #3