Allow to specify branch
Fix parse spec
Check if node exists