added allowed script dir test

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>