check if ${arg_pkg}_generate_messages_py exists or not in the case of
compiling upstream packages on groovy.