Fix boot2docker with /User mapping.

Fixes #1856

Based on #1858 from @nyaxt.
Merge pull request #1876 from jbeda/boot2docker-fix

Fix boot2docker with /User mapping.