Revert "fix for app-mounted directories (thanks @mkasick)"

This reverts commit 91aabab96a27cb7a5d4ae754c9f630e9de30348f.