Update the default dir pattern for namespace detection

close #10