Bug fix: 404 if installed in directory containing tilde (Issue #691)