Verify path initialization logic

Fixes #891