Added a check for an empty UPSTART_ID

...  instead of a PORT less than 1024