#extension checks for nil path