Added a check for file existence in the export_port_connections.php - previously there were no checks and if an image file didn't exist it would cause a fatal exception.

#467