Dynamic methods: Minor cleanup
Dynamic methods: Minor cleanup

Update issue 1090
Cc: pekka.klarck
I changed the fix slightly. It is a little safer to return the given default if the method returns None. In practice this shouldn't change the behavior.

waldenner/robotframework,fiuba08/robotframework,fiuba08/robotframework,ldtri0209/robotframework,fiuba08/robotframework,fiuba08/robotframework,ldtri0209/robotframework,waldenner/robotframework,waldenner/robotframework,ldtri0209/robotframework,waldenner/robotframework,fiuba08/robotframework,ldtri0209/robotframework,ldtri0209/robotframework,waldenner/robotframework