Fixed bug with paths not being fully resolved.