rakefile: handle invalid build_id cases, show download link only in cloud:show:build or cloud:list_builds