A basic check for asset url sanity

If the provided asset url is undefined it should not brake the script