Corrected empty check for URL and printed hub URL