Alexandre Julliard : server: Fix checks for a valid directory in object attributes.