Fix #5, properly handle blank upload_path and upload_url_path