properties.c: track if we have a patched init for a better ret value

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>