Fix an "unused return value" warning.  Check for NULL which indicates failure
from realpath(3)