Revert "Renamed all local variables with name 'response' to 'apipie_response' to prevent clashes in tests"

This reverts commit 7fb13e30dbdeaaff8dc372c6013135b707a1d375.
Add nil check to prevent nilError if a nil path is present