View: Fix path issue, realpath strips last slash.