Only sign if signing property is defined

Signed-off-by: Ian Macalinao <me@ian.pw>