Fix bug where context path was empty using get

Closes #12