Proper error handling also for starman builds, take into account possibility of failures of remove op.