Catch nil path components

Also add a base class for Placid exceptions