cgpath test: don't check path len before checking if it is null

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
remove needless check for 'line' which cannot be NULl there

(found by coverity)

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>