Check for the top-level directory