standalone: Expose sepcific exceptions in debug mode
In the commit dc559dad specific exceptions has been exposed to caller, but in case of SLAPOS_TEST_DEBUG enabled unusal exception is raised.
This commit improves the situation so that behaviour is consistent neverthless the SLAPOS_TEST_DEBUG.