Fixed small bug when using absolute paths.