Add a test if the post-processing script path is empty
Only execute the post-processing script if its path is non-empty to avoid the error message of #363
Only execute the post-processing script if its path is non-empty to avoid the error message of #363