Check for nil url in file uploader