Fix lookup path and empty encryption option