handle no --args

When no --args are passed application was started with {args} as argument instead of no argument.