Detects whether it the given path is a directory
Merge branch 'master' into develop