Fix custom path not being passed to phantom utility function correctly.