Fix running in a non root path

fix zfcampus/zf-apigility-skeleton#4