fix condition check on resource[:pxe], because :false is true