Fixed bug in ci_exists
When a prefix is provided, the path components should start with the beginning of the relative path.
Before, it would start with the root by finding the absolute of the given relative path, which obviously will generally just report that the file does not already exist.