Bugfix: make nested target location using mkdir_recursive