Fix for block's visibility paths when working under subdirectory.

Closes #413

Signed-off-by: Rachman Chavik <rchavik@xintesa.com>