Modify help menu building process

Do not add links for empty URLs.