Remove a number of pointless checks against PATH_MAX and add a syntax-check rule to prevent its use in future Signed-off-by: Daniel P. Berrange <berrange@redhat.com> (cherry picked from commit ebbcc0263969cc4472f4aafea8901154c790a196)