public function getBasePath()
{
if (empty($this->blueprintConfig['basepath'])) {
throw new \Exception("No basepath set");
}
if (!is_dir($this->blueprintConfig['basepath'])) {
throw new \Exception("Invalid basepath '{$this->blueprintConfig['basepath']}'");
}
return $this->blueprintConfig['basepath'];
}