Throw error if specified preset does not exist

Fixes #416