fix the checking for shares to work with parent directories
fix the checking for shares to work with parent directories

nanobox-io/nanobox,nanobox-io/nanobox,pagodabox/nanobox-cli,nanobox-io/nanobox-cli,nanobox-io/nanobox-cli,nanobox-io/nanobox-cli,pagodabox/nanobox-cli