Remove unreachable code

The check_prop function itself throws an error, so no need to check
the return value
Fix typo